package com.qian.fmall.mapper;

import com.qian.fmall.pojo.ProductSku;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductSkuMapper {
    List<ProductSku> getProductSkuByProductId(String  productId);
    ProductSku getProductSkuBySkuId(String SkuId);
    int modifyStockBySkuId(@Param("skuId") String skuId,@Param("stock") int stock);
}
